package controllerInterfaces;

/**
 * 
 * @author Andy Cullache
 *
 */
public interface IControllerLoadTestResult {
	
	/**
	* Sets the benchmark panel controller as controller of this class.
	* 
	* @param controller      panel controller class benchmark.
	*/
	public void setController(IControllerBenchmarkPanel myController);
	
	/**
	* Opens a view to set the directory and name of the CSV file.
	* 
	* @return      a set of "String" size 2, contains the name and path of the CSV file.
	*/
	public String[] selectDirectory();
	
	/**
	* Reads the results of tests from a CSV file and add the test with this results.
	* 
	* @param dir      PATH of the file.
	* @param filename      name of the file.
	* @return      true if read test result from CSV file.
	*/
	public boolean readTestResult(String dir, String name);
	
	/**
	 * Updates the table of test results on the benchmark tab.
	 */
	public void updateTable();

}
